package com.shanzmoo.admin.domain.dto;

import cn.hutool.core.bean.BeanUtil;
import com.shanzmoo.db.store.entity.StoreMemberEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 仓储客户 更新对象
 *
 * @author Gzhao 2021-03-08
 */
@Data
@ApiModel("仓储客户-更新对象")
public class StoreMemberUpdateDTO extends StoreMemberSaveDTO{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private Integer id;













    public StoreMemberEntity convertEntity() {
        StoreMemberEntity target = new StoreMemberEntity();
        BeanUtil.copyProperties(this, target, true);
        return target;
    }
}
